//
//  View.m
//  Vocal concert
//
//  Created by dllo on 16/6/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "View.h"
#import "Heading.h"

@implementation View

-(instancetype)initWithFrame:(CGRect)frame withText:(NSString *)text {
    self = [super initWithFrame:frame];
    if(self){
        Heading *head = [[Heading alloc]initWithFrame:CGRectMake(20, 20, 400,100) withlabel:text];
        [self addSubview:head];
        [head release];
     
        
        
    }
    return self;
}

@end
